<?php
$path= dirname(__FILE__).DIRECTORY_SEPARATOR.'access.txt';
$com=date('Y-m-d H:i:s')." : ".array_shift(explode('.',end(explode('/',$_SERVER["PHP_SELF"]))))." ---- ".$_SERVER["REMOTE_ADDR"]."\r\n";
file_put_contents($path,$com,FILE_APPEND);
?>YES